'use strict';
var React=require( 'react');
var reactDom=require( 'react-dom/server');
var HkfsProfitComputer = require('../public/javascripts/components/pc/HkfsProfitComputer.jsx');

exports.RenderFunc = (renderCallBack)=> {
    if (renderCallBack) {
        var main = reactDom.renderToString(
            <HkfsProfitComputer/>
        );
        renderCallBack(main, '');
    }
};